package club.vann.mock.db.repository;

import club.vann.mock.db.entity.SystemConfigEntity;
import club.vann.mock.model.enums.SystemConfigType;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface SystemConfigRepository
    extends JpaSpecificationExecutor<SystemConfigEntity>, JpaRepository<SystemConfigEntity, Long> {
  List<SystemConfigEntity> findByType(SystemConfigType type);
}
